package com.yt.order.models.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
import java.io.Serializable;

/**
 * 工单评价VO
 *
 * @author chen
 * @Date 2025-09-23 10:07:17
 */
@Data
public class WorkOrderEvaluationVO implements Serializable {
    @ApiModelProperty(value = "评价记录唯一ID")
    private Long id;
    @ApiModelProperty(value = "数据版本号（乐观锁控制）")
    private Integer revision;
    @ApiModelProperty(value = "关联工单ID（关联work_order_info.id，一个工单对应一条评价）")
    private Long orderId;
    @ApiModelProperty(value = "工单标题")
    private String orderTitle;
    @ApiModelProperty(value = "评价人ID（关联sys_user.id，客户/系统用户发起评价，可为null）")
    private Long evaluatorId;
    @ApiModelProperty(value = "评价人姓名")
    private String evaluatorName;
    @ApiModelProperty(value = "被评价员工ID（关联sys_user.id，工单的接单员）")
    private Long empId;
    @ApiModelProperty(value = "被评价员工姓名")
    private String empName;
    @ApiModelProperty(value = "评价星级（1-5星，1星最差，5星最优）")
    private Integer rating;
    @ApiModelProperty(value = "评价内容（文字描述，可为null）")
    private String evaluationContent;
    @ApiModelProperty(value = "评价图片URL（多个图片用逗号分隔，可为null）")
    private String evaluationPic;
    @ApiModelProperty(value = "评价状态：0-无效（如删除），1-有效")
    private Integer status;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}
